.... And Just a Few More

rleflip Perform gross (90 degree) rotation
repos Change offset in header
crop Prune image
ldmap Create colormap (linear, gamma-corrected)
applymap Apply colormap to image
to8 Dither 24 bit image (256-elt color map still has
  24 bit colors)
tobw 24 bits to 8 using YIQ transform
painttorle with rletopaint, a MacPaint interface